import request from '@/utils/request'

// 查询质量手册管理列表
export function listNcQualityManualManagement(query) {
  return request({
    url: '/business/NcQualityManualManagement/list',
    method: 'get',
    params: query
  })
}

// 查询质量手册管理详细
export function getNcQualityManualManagement(id) {
  return request({
    url: '/business/NcQualityManualManagement/' + id,
    method: 'get'
  })
}

// 新增质量手册管理
export function addNcQualityManualManagement(data) {
  return request({
    url: '/business/NcQualityManualManagement',
    method: 'post',
    data: data
  })
}

// 修改质量手册管理
export function updateNcQualityManualManagement(data) {
  return request({
    url: '/business/NcQualityManualManagement',
    method: 'put',
    data: data
  })
}

// 删除质量手册管理
export function delNcQualityManualManagement(id) {
  return request({
    url: '/business/NcQualityManualManagement/' + id,
    method: 'delete'
  })
}
